package com.example.housingRentalSystem.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 王硕
 */
@Data
@ApiModel("反馈实体")
public class Feedback {
    @ApiModelProperty("反馈ID")
    private Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("反馈标题")
    private String title;

    @ApiModelProperty("反馈内容")
    private String content;

    @ApiModelProperty("处理状态：0待处理 1已处理")
    private Integer status;

    @ApiModelProperty("回复内容")
    private String reply;

    @ApiModelProperty("联系人姓名")
    private String contactName;

    @ApiModelProperty("联系人邮箱")
    private String contactEmail;

    @ApiModelProperty("删除状态：0未删除 1已删除")
    private Integer isDelete;

    @ApiModelProperty("用户ID")
    private Integer userId;
}
